package vocabularyhub.word.model;

/**
 * This interface represent the most fundemental word in a language.
 * 
 * <pre>
 * This interface only provide the {@link #getWord()} and {{@link #setWord(String)} function.
 * To get and set the characters of the Word it representing.
 * </pre>
 * 
 * @author Leon
 * 
 */
public interface IWord extends Comparable<IWord> {

    /**
     * Get the String representing this word.
     * 
     * @return This word String.
     */
    public String getWord();

    /**
     * Set the String of this word.
     * 
     * @param word
     *            The word String
     */
    public void setWord(String word);

}
